package org.dromara.wyl.domain.bo;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.wyl.domain.NppCnn;

/**
 * 【请填写功能名称】业务对象 npp_cnn
 *
 * @author Lion Li
 * @date 2023-12-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = NppCnn.class, reverseConvertGenerate = false)
public class NppCnnBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long predictionId;

    /**
     * 批次大小
     */
    @NotNull(message = "批次大小不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long batchSize;

    /**
     * 迭代次数
     */
    @NotNull(message = "迭代次数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long iterationNum;

    /**
     * 学习率
     */
    @NotBlank(message = "学习率不能为空", groups = { AddGroup.class, EditGroup.class })
    private String learningRate;


}
